package com.jt;

/**
 * @author dc
 * @Classname testEnum
 * @Date 2020/2/15 8:55
 */
public enum testEnum {
    ONE(1,"黄色"),TWO(2,"紫色"),THREE(3,"绿色"),FOUR(4,"黑色");
    private Integer id;
    private String color;

    testEnum(Integer id, String color) {
        this.id = id;
        this.color=color;
    }


    public Integer getId() {
        return id;
    }

    public String getColor() {
        return color;
    }
}
